package com.mark.mall.web.platform.mapper;

import com.mark.mall.web.platform.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-03-03
 */
public interface MemberMapper extends BaseMapper<Member> {

    /**
     * 根据会员名获取会员
     *
     * @param memberName
     * @return
     */
    Member getMemberByName(@Param("memberName") String memberName);
}
